﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Details : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string action = Request.QueryString["ac"].ToString();
        string id  = Request.QueryString["id"].ToString();

        //string url = Request.Url.LocalPath.ToString();
        //char[] sub = { '/' };
        //char[] sub1 = { '&' };
        //string[] mang = url.Split(sub);
        //string para = Request.Url.Query;
        //string[] mang1 = para.Split(sub1);
        //string subUrl = "/" + mang[3] + "/" + mang1[0];

       // TextBox1.Text = action;
        if (IsPostBack==false)
        {
            if (action == "'sua'")
            {
                TextBox1.Text = id;
            }
        }
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
       
    }
}